Skip to content

fix(cloud): preserve full PR patch fidelity - #131

Merged
vincentkoc merged 3 commits into
mainfrom
fix/cloud-full-fidelity
Jul 29, 2026
Merged

fix(cloud): preserve full PR patch fidelity#131
vincentkoc merged 3 commits into
mainfrom
fix/cloud-full-fidelity

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 29, 2026

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where the Cloudflare SQLite snapshot could inherit clipped portable-store bodies and dropped pull-request patch text even though the hosted archive is intended to retain richer canonical data than the compact Git-backed store.

Why This Change Was Made

Preserve structured PR patch text, truthfully declare source code in bundle privacy metadata, and refresh portable body-length/excerpt metadata whenever a copied portable database is hydrated into a full runtime store. Raw API payloads, blob references, run diagnostics, local code indexes, and machine-local paths remain scrubbed.

User Impact

Cloud archive consumers can recover full canonical issue and pull-request bodies, comments, and PR patch text. Gzip remains lossless transport rather than portable-store compaction.

Evidence

  • go test ./...
  • focused portable hydration and cloud snapshot tests
  • autoreview: clean after two accepted metadata-edge fixes
  • git diff --check

@vincentkoc
vincentkoc marked this pull request as ready for review July 29, 2026 10:09
@vincentkoc
vincentkoc merged commit 7a1bd6d into main Jul 29, 2026
13 checks passed
osolmaz pushed a commit to osolmaz/gitcrawl that referenced this pull request Jul 29, 2026
* fix(cloud): preserve PR patch text in snapshots

* docs(cloud): define full-fidelity snapshot boundary

* fix(cloud): restore full bodies from portable seeds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant